*{
    margin: 0;
    padding: 0;
}
.searhButton {
    height: 40px;
    width: 50%;
    border-radius: 50px;
    display: flex;
    align-items: center;
}
.header{
    margin-top: 20px;
    display: flex;
    justify-content: center;
}
input {
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    height: 40px;
    border: 1px solid rgb(29, 32, 136);
    width: 90%;
    padding: 2px 2px 0px 30px;
    outline: none; /* 移除默认的聚焦样式 */
    transition: border-color 0.3s, box-shadow 0.3s, background-color 0.3s;
}

input:focus {
    border-color: #1e90ff; /* 聚焦时改变边框颜色 */
    box-shadow: 0 0 5px rgba(30, 144, 255, 0.5); /* 添加阴影效果 */
    background-color: #f0f0f0; /* 聚焦时改变背景颜色 */
}

.search {
    background-color: rgb(29, 32, 136);
    color: white;
    height: 40px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    cursor: pointer; /* 鼠标悬停时显示指针 */
    transition: background-color 0.3s;
}

.search:hover {
    background-color: #2c3e50; /* 鼠标悬停时改变背景颜色 */
}

/* 当输入框聚焦时，改变按钮的颜色 */
input:focus + .search {
    background-color: #1e90ff; /* 聚焦时改变按钮背景颜色 */
}

a{
    color: rgb(254, 153, 0);
    cursor: pointer;
}
a:hover{
    color: #2f4056;
}

